package com.ticket.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.ticket.entity.Feedback;
import com.ticket.vo.FeedbackVO;

import java.util.List;

public interface IFeedbackService extends IService<Feedback> {
    List<Feedback> getUserFeedbacks(Long userId);
    void createFeedback(Long userId, FeedbackVO feedbackVO);
    
    /**
     * 获取用户最近的反馈
     * @param userId 用户ID
     * @param limit 限制返回的反馈数量
     * @return 最近的反馈列表
     */
    List<Feedback> getRecentFeedbacks(Long userId, int limit);
} 